#/usr/bin/env python
#_*_coding=utf-8 _*_
# python version 2.7

name =raw_input ('请输入姓名:')
job = raw_input ('输入你的工作:')
for  i in range (10):
 age= input('年龄:')

 if age > 29:
  print ('think smaller!')
 elif age ==27:
  print '\033[32;1mGood ! 10 RMB !\033[0m'
  #颜色\033[32;1m  颜色  \033[0m
  break
  #break 退出循环
 else :
  print 'think bigger'
 print 'you still got %s shots' % (9 -i )
#10次循环 0-9
print '''
personal information of %s:
        Name:%s
        Age :%s
        Job :%s
---------------------------
''' %(name,name,age,job)
#设置%s变量顺序